package com.kun.valiant.clue.mapper;

import com.kun.valiant.clue.domain.Clue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kun.valiant.clue.domain.vo.ClueDetails;
import com.kun.valiant.clue.domain.vo.ClueSummary;
import com.kun.valiant.clue.domain.vo.ClueVO;
import com.kun.valiant.common.core.domain.model.EchartsPoint;

import java.util.List;

/**
 * <p>
 * 线索 Mapper 接口
 * </p>
 *
 * @author fangkun
 * @since 2023-06-08
 */
public interface ClueMapper extends BaseMapper<Clue> {

    List<ClueSummary> selectAllList(ClueVO clueVO);

    ClueDetails getClueDetailsByClueId(Long clueId);

    List<EchartsPoint> increaseClue(ClueVO clueVO);

    List<EchartsPoint> totalClue(ClueVO clueVO);
}
